package cn.gd.pojo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 组织结构
 */
@AllArgsConstructor //全参构造
@NoArgsConstructor //无参构造
public class Organizationstructure {

    /**
     *
     */
    private Integer orgID;

    /**
     *
     */
    private String orgName;

    /**
     *
     */
    private String orgShortName;

    /**
     *
     */
    private Integer sortOrder;

    /**
     *
     */
    private Integer parentOrgID;

    private List<Department> departments;
    private Department departmentss;

    public Department getDepartmentss() {
        return departmentss;
    }

    public void setDepartmentss(Department departmentss) {
        this.departmentss = departmentss;
    }

    public List<Department> getDepartments() {
        return departments;
    }

    public void setDepartments(List<Department> departments) {
        this.departments = departments;
    }

    public Integer getOrgID() {
        return orgID;
    }

    public void setOrgID(Integer orgID) {
        this.orgID = orgID;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOrgShortName() {
        return orgShortName;
    }

    public void setOrgShortName(String orgShortName) {
        this.orgShortName = orgShortName;
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getParentOrgID() {
        return parentOrgID;
    }

    public void setParentOrgID(Integer parentOrgID) {
        this.parentOrgID = parentOrgID;
    }

    @Override
    public String toString() {
        return "Organizationstructure{" +
                "orgID=" + orgID +
                ", orgName='" + orgName + '\'' +
                ", orgShortName='" + orgShortName + '\'' +
                ", sortOrder=" + sortOrder +
                ", parentOrgID=" + parentOrgID +
                ", departments=" + departments +
                ", departmentss=" + departmentss +
                '}';
    }
}
